package org.jeecg.modules.engineering.service;

import com.alibaba.fastjson.JSONObject;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.engineering.entity.EquipDataCollector;
import org.jeecg.modules.engineering.entity.EquipEventInfo;
import org.jeecg.modules.engineering.entity.EquipEventSort;
import org.jeecg.modules.engineering.entity.EquipInfo;
import org.jeecg.modules.engineering.vo.CollectData;

import java.util.List;
import java.util.Map;

public interface IEquipDataApiService {

    /**
     * 获取云梯维小保的token
     * @return
     */
    String getYunTiToken();

    JSONObject syncLiftList();

    List<EquipEventInfo> syncListEventByOutCode(EquipInfo info,EquipDataCollector collector,long startTime, long endTime);

    String getLiftAlarmVedioUrl(String alarmCode,Boolean isHttps);

    JSONObject getLiftBaseInfo(List<String> lifts);

    String getLiftRealVedioUrl(String registerCode, Boolean isHttps);

    JSONObject getLiftAudioTalkData(String registerCode, Boolean isVideo);

    void acceptEventData(String equipCode, String itemCode, String value, Long collectTime, String registerCode);

    void asyncCollectData(List<CollectData> resultData);
}
